﻿using System;
using System.Text;
using Model;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;

namespace Model
{
    public static class Session
    {
        public static List<ModuleItem> lstModuleItem = new List<ModuleItem>();

        public static int LoginID = -1;
        public static string LoginName = "";
        public static string LoginPC = "";
        public static int CloseIndex = 0;

        public static string SqlDataSource = "(local)";
        public static string SqlUserID = "sa";
        public static string SqlPassword = "1";
        public static string DBConnectionString = "Data Source=(local)\\SQLEXPRESS;Initial Catalog=THL;Persist Security Info=True;User ID=sa;Password=1;";

        public static string LoaiDanhMuc = null;
        public static int? PhongBanID_NhanVien = null;
        public static int? NhanVienID = null;

        public static int? MacDinh_ChucVu = null;
        public static int? NgachLuongID = null;
        public static int? TUL_NhanVienID = null;
        public static int? MatHangID = null;
        public static int? NhomHangID = -1;
        public static int? LoaiDungCuID = -1;
        public static int? TonKhoID = -1;
        public static int? QuyenHanID = null;

        public static int? ThuChi_LoaiPhieu = 0;//1:thu;0:chi
        public static DateTime ThuChi_DotKhaiBao = DateTime.Now;
        public static int? ThuChi_GiamDocID = null;
        public static int? ThuChi_KeToanID = null;
        public static int? ThuChi_ThuQuyID = null;
        public static int? ThuChi_ThuKhoID = null;
        public static string SoQuy_TaiKhoan = null;

        public static int? ThuChiThuQuy_LoaiPhieu = 0;//1:thu;0:chi
        public static DateTime ThuChiThuQuy_DotKhaiBao = DateTime.Now;

        public static DateTime NgayHeThong = DateTime.Now;

        public static ThietDatBOCollection thietDatBOCollection = null;

        public static string TenDonVi = "SHOP HOA QUẢ NHẬP KHẨU FRUITGARDEN";
    }
}
